package com.loie.datacenter.mapper;

import com.loie.datacenter.model.bo.CommissionBO;
import com.loie.datacenter.model.bo.CommissionItemBO;
import com.loie.datacenter.model.bo.CommissionItemSumBO;
import com.loie.datacenter.model.bo.CommissionWithItemBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhl
 * @create 2021/9/7 13:49
 */
public interface CommissionMapper {
    CommissionItemSumBO getCommissionItemSum(CommissionItemBO bo);

    List<CommissionBO> getCommissionList(@Param("bo") CommissionBO bo, @Param("user") String user);

    List<CommissionItemBO> getCommissionItemList(CommissionItemBO bo);

    CommissionItemSumBO getCommissionCount(@Param("bo") CommissionBO bo, @Param("user") String user);

    List<CommissionWithItemBO> getCommissionWithItemList(@Param("bo") CommissionBO bo, @Param("user") String user);

}
